﻿namespace OboutInc.Show
{
    using System;
    using System.Collections;
    using System.Reflection;

    [Serializable]
    public class PanelBaseCollection : CollectionBase
    {
        public int Add(Panel panel)
        {
            return base.List.Add(panel);
        }

        public bool Contains(Panel panel)
        {
            return base.List.Contains(panel);
        }

        public void CopyTo(Panel[] array, int index)
        {
            base.List.CopyTo(array, index);
        }

        public int IndexOf(Panel panel)
        {
            return base.List.IndexOf(panel);
        }

        public void Insert(int index, Panel panel)
        {
            base.List.Insert(index, panel);
        }

        public void Remove(Panel panel)
        {
            base.List.Remove(panel);
        }

        public Panel this[int index]
        {
            get
            {
                return (Panel) base.List[index];
            }
            set
            {
                base.List[index] = value;
            }
        }
    }
}

